<!-- 继承 home 模板 -->
{% extends "template/home/home.html" %}
{% block content %}
  <!-- 引入公共模块 -->
  {% include "components/nav.html" %}
  <h1>待办事项</h1>
  <ul class="list">
    <!-- 过滤器的调用 timeFormate即我们在中间件中给njk加的过滤器 -->
    {% for item in todoList %}
      <li>{{item.name}} ---> {{item.time}}</li>
    {% endfor %}
  </ul>
  <div class="bg-img"> 背景图00</div>
  <img src="images/ww.jpg"/>
{% endblock %}